<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="utf-8">
    <title>个性化定制</title>
    <style>
        body {
            background-color: #ECECEC;
        }

        #text {
            margin-top: 8%;
            margin-left: 35%;
            width: 30%;
            text-align: center;
            letter-spacing: 2px;
        }

        p {
            font-family: SourceHanSansCN-ExtraLight;
            font-weight: 100;
            font-size: 22px;
        }

        .cn {

            font-size: 32px;
        }

        #baocun {
            margin-top: 500px;
            margin-left: 47%;
            border-radius: 20px;
            width: 100px;
            height: 20px;
            background-color: #ECECEC;
        }

        #submit {
            width: 100%;
        }

        .modal {
            border-radius: 50px;
        }

        #edit-profile-modal .modal-content {
            margin-top: 2%;
            margin-left: 17%;
            width: 20%;
            height: 300px;
            background-color: #ffffff;
            border-radius: 50px;
            padding: 2rem;
            box-shadow: 0 0 10px rgba(0, 0, 0, .1);
            float: left;
        }

        #edit-profile-modal2 .modal-content {
            margin-top: 2%;
            margin-left: 17%;
            width: 20%;
            height: 300px;
            background-color: #ffffff;
            border-radius: 50px;
            padding: 2rem;
            box-shadow: 0 0 10px rgba(0, 0, 0, .1);
            float: left;
        }

        .edit-inputs {
            border-radius: 18%;
            margin-left: 60px;
            display: flex;
            flex-direction: column;
        }

        .edit-item {
            margin-bottom: .5rem;
        }

        .edit-item:nth-child(1) {
            margin-bottom: .5rem;
            position: relative;
            top: -50px;
            left: -50px;
        }

        .edit-item:nth-child(2) {
            margin-bottom: .5rem;
            position: relative;
            top: -50px;
            left: -50px;
            width: 175px;
            height: 24px;
            border: 1px solid black;
            padding-left: 10px;
            border-radius: 12px;
            background-color: black;
        }

        .edit-item:nth-child(2) label {
            color: #ffffff;
            font-family: SourceHanSansCN-ExtraLight;
            font-size: 12px;
            letter-spacing: 5px;
            font-weight: lighter;
        }

        .edit-item:nth-child(2) input {
            position: absolute;
            color: #ffffff;
            background-color: black;
            top: 52%;
            transform: translateY(-50%);
            text-align: right;
        }

        .edit-item:nth-child(2) span {
            position: absolute;
            color: #ffffff;
            background-color: black;
            top: 50%;
            right: 5px;
            transform: translateY(-50%);
            font-family: SourceHanSansCN-ExtraLight;
            font-size: 12px;
            letter-spacing: 5px;
        }

        .edit-item:nth-child(3) {
            margin-bottom: .5rem;
            position: relative;
            top: -50px;
            left: -50px;
        }

        .title1 {
            font-family: SourceHanSansCN-ExtraLight;
            font-size: 20px;
            position: relative;
            top: -10%;
            left: 4%;
            letter-spacing: 1px;
            font-weight: lighter;
        }

        .title2 {
            font-family: SourceHanSansCN-ExtraLight;
            font-size: 16px;
            position: relative;
            top: -15%;
            left: 4%;
            letter-spacing: 2px;
            font-weight: lighter;
        }

        .title3 {
            font-family: SourceHanSansCN-ExtraLight;
            font-size: 20px;
            position: relative;
            top: -10%;
            left: 4%;
            letter-spacing: 1px;
            font-weight: lighter;
        }

        .title4 {
            font-family: SourceHanSansCN-ExtraLight;
            font-size: 16px;
            position: relative;
            top: -12.5%;
            left: 4%;
            letter-spacing: 2px;
            font-weight: lighter;
        }

        input {
            border: 0;
        }

        .name {
            font-family: SourceHanSansCN-ExtraLight;
            font-size: 20px;
            letter-spacing: 5px;
            font-weight: lighter;
        }

        .username {
            width: 275px;
            height: 25px;
            position: relative;
            top: -25px;
            left: -50px;
            border: 1px solid black;
            border-radius: 20px;
            background-image: url(../imgs/login/username-img.png);
            background-repeat: no-repeat;
            background-size: 8px 11px;
            background-position: 5% 50%;
            background-color: #fff;
        }

        .username input {
            outline: none;
            position: relative;
            height: 20px;
            width: 220px;
            top: 40%;
            left: 15%;
            transform: translateY(-50%);
            font-size: 12px;
        }

        input[type=range]::-webkit-slider-runnable-track {
            color: black;
        }

        button {
            background-color: black;
            border: 0 solid;
            height: 25px;
            width: 75px;
            border-radius: 25px;
            font-family: SourceHanSansCN-ExtraLight;
            font-size: 12px;
            letter-spacing: 5px;
            font-weight: normal;
            color: white;
        }

        input[type="password"]::-ms-reveal {
            display: none;
        }

        .pswd {
            width: 275px;
            height: 25px;
            position: relative;
            left: -50px;
            border: 1px solid black;
            border-radius: 20px;
            background-image: url(../imgs/login/password-img.png);
            background-repeat: no-repeat;
            background-size: 8px 11px;
            background-position: 5% 50%;
            background-color: #fff;
        }

        .pswd input {
            outline: none;
            position: relative;
            height: 20px;
            width: 220px;
            top: 40%;
            left: 15%;
            transform: translateY(-50%);
            font-size: 12px;
        }

        .username::after,
        .pswd::after {
            content: "";
            height: 14px;
            width: 0.5px;
            background-color: black;
            position: absolute;
            left: 12%;
            top: 25%;
        }

        .btn {
            width: 250px;
            height: 27px;
            position: fixed;
            top: 92.5%;
            left: 50%;
            transform: translateX(-50%);
        }

        .edit-inputs div {
            color: black;
        }

        .X {
            width: 10px;
            height: 10px;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            left: 50%;
        }

        .X::before,
        .X::after {
            content: "";
            position: absolute;
            background-color: #666666;
            width: 2px;
            height: 20px;
        }

        .X::before {
            transform: rotate(-45deg);
        }

        .X::after {
            transform: rotate(45deg);
        }

        .return-button {
            position: relative;
            left: 43.5%;
            transform: translateX(-50%);
            top: 15px;
            background-color: #fff;
            opacity: 0;
            transition: opacity 0.5s ease-out;
            transform: 0.5s ease-out;
            border: 0 solid;
            border-radius: 40px;
            width: 225px;
            height: 45px;
            z-index: 10;
            display: inline;
        }
    </style>
</head>

<body>
    <div id="text" class="title">
        <p class="cn">在 您 的 个 人 页 面 定 制 ！</p>
        <p>Customize for yourself !</p>
    </div>

    <div id="edit-profile-modal" class="modal fade show" role="dialog">
        <div class="modal-content">
            <p class="title1">在此编辑您的资料卡片:</p>
            <p class="title2">Click to change！</p>
            <br>
            <form method="POST" action="">
                <div class="edit-inputs">
                    <div class="edit-item">
                        <input class="name" type="text" value="Jerry520" readonly />
                    </div>
                    <div class="edit-item">
                        <label for="history-trips">历史出行</label>
                        <input type="number" min="0" max="99" step="1" value="13" disabled />
                        <span>次</span>
                    </div>
                    <span class="username">
                        <input type="text" id="username" class="dlu">
                    </span>
                    <span class="pswd">
                        <input type="password" class="dlp" id="password">
                    </span>
                    <br>
                </div>
            </form>
        </div>
    </div>

    <div id="edit-profile-modal2" class="modal fade show2" role="dialog">
        <div class="modal-content">
            <p class="title3">在此为您的行程添加个性化:</p>
            <p class="title4">Personalize Your Travel！</p>
            <br>
            <form method="POST" action="">
                <div class="edit-inputs">
                    <div id="customization-container">
                        <label for="poverty">穷游</label><input type="range" min="0" max="100" value="60" step="1"
                            oninput="output.value = this.value"><label for="poverty">富游</label><span
                            id="poverty-output"></span>
                        <br />
                        <br />
                        <label for="culture">文化</label><input type="range" min="0" max="100" value="30" step="1"
                            oninput="output.value = this.value"><label for="culture">商业</label><span
                            id="culture-output"></span>
                        <br />
                        <br />
                        <label for="leisure">休闲</label><input type="range" min="0" max="100" value="70" step="1"
                            oninput="output.value = this.value"><label for="leisure">紧凑</label><span
                            id="leisure-output"></span>
                    </div>
                </div>
            </form>
        </div>
    </div>

    <div id="baocun">
        <button id="submit">save</button>
    </div>
    <script src="personal.js"></script>
</body>

</html>